import { Slider, InputNumber } from 'antd'

const SliderEntry = (props) => {
  const { value } = props
  return (
    <div className="slider__entry">
      <Slider tipFormatter={null} {...props} value={typeof value === 'number' ? value : 0} />
      <InputNumber {...props} size="small" />
    </div>
  )
}

export default SliderEntry
